package org.liveboardgames.agricola.control.delegates.action.prerequisite
{
    import org.liveboardgames.agricola.control.delegates.helper.GameHelper;
    import org.liveboardgames.agricola.model.AgricolaModelLocator;
    import org.liveboardgames.agricola.vo.player.Player;
    
    public class RoundFivePrerequisiteChecker extends PrerequisiteChecker
    {
        public function RoundFivePrerequisiteChecker(player:Player)
        {
            super(player);
        }
        
        override public function check():Boolean
        {
            return GameHelper.getCurrentRoundNumber(AgricolaModelLocator.getInstance().game) >= 5;
        }
    
    }
}